Skip to content

Conversation

@vinistock
Copy link
Member

@vinistock vinistock commented Jul 11, 2025

Motivation

Closes #3653

In the implement of constant completion candidates, we forgot to filter based on the definition type - since you can have methods that begin with an uppercase letter. That was leading to including methods incorrectly as part of constant completion suggestions.

Implementation

Added the missing filtering.

Automated Tests

Added a test that reproduces the issue.

Copy link
Member Author


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock self-assigned this Jul 11, 2025
@vinistock vinistock added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Jul 11, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review July 11, 2025 13:56
@vinistock vinistock requested a review from a team as a code owner July 11, 2025 13:56
@vinistock vinistock requested a review from egiurleo July 15, 2025 21:25
@vinistock vinistock merged commit 8657407 into main Jul 16, 2025
40 checks passed
@vinistock vinistock deleted the 07-11-filter_constant_completion_suggestions_to_only_include_constants branch July 16, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Constant completions include methods that begin with uppercase letter

2 participants